package personresources.manager.dao;

import java.util.List;

import personresources.manager.hibernate.Employee;
/**
 * EmployeeDao
 * @author Duy Chuong
 *
 */
public interface EmployeeDao extends GenericDao<Employee, Integer> {
	
	/**
	 * Get List Employee by GroupID
	 * @param groupId groupId
	 * @return List of Employee
	 */
	List<Employee> getEmployees(Integer groupId);

	/**
	 * Get Employee By Email
	 * @param email Email of Employee
	 * @return Employee
	 */
	Employee getEmployeeEmail(String email);
}
